<%-- 
    Document   : huespedAbm
    Created on : 09/10/2012, 12:38:45
    Author     : Denise
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib  uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/style2.css" media="screen" />   
        
        <title>Nuevo Huesped</title>
    </head>
    <body>
        <h1><bean:message key="huesped.nuevoHuesped"/></h1>
         <center>  
           
             <div id="stylized" class="myform">
                 <html:form action="/huespedAbm.do" onsubmit="return validateHuespedAbmForm(this)">
                     <html:javascript  formName="HuespedAbmForm"/>
            <html:hidden property="event"/>
           
              <table>
            <tr>    
                  <td><bean:message key="huesped.nombre"/></td>
                  <td><html:text property="nombre" maxlength="50"/></td>
            </tr>
            <tr>         
                  <td><bean:message key="huesped.apellido"/></td>
                  <td><html:text property="apellido" maxlength="50"/></td>
            </tr>
            <tr>            
                 <td><bean:message key="huesped.dni"/></td>
                 <td><html:text  property="dni"  size="20" maxlength="10"/></td>
            </tr>
            <tr>      
                  <td><bean:message key="huesped.telefono"/></td>
                  <td><html:text  property="telefono" maxlength="50"/></td>
            </tr>
             <tr>  
                  <td><bean:message key="huesped.estado"/></td>
                  <td><html:select  property="estado">
                          <html:option value="" />
                          <html:option value="Habilitado" />
                          <html:option value="Inhabilitado" />
                      </html:select></td>
            </tr>
             <tr>
                  <td><bean:message key="huesped.email"/></td>
                  <td><html:text property="email" maxlength="100"/></td>
            </tr>  
             <tr>
                <td></td>              
                <td><html:submit value="Guardar"/></td>
            </tr>
                </table>  
            <div class=”spacer”></div>
        </html:form> 
                 </div>
               </center>    
    </body>
</html>
